<?php
include "../config.php";
require_once "securimage.php";
require_once "phpmailer.class.php";
require_once "pop3.class.php";
require_once "smtp.class.php";
require_once "mail.class.php";

$subject	= $_REQUEST["s"];
$data		= $_REQUEST["t"];
$email		= $_REQUEST["e"];
$captcha	= $_REQUEST["c"];

$securimage = new Securimage();
if ($securimage->check($captcha))
{
	$mail = new mail();
	$mail->contact_us_mail($subject, $data, $email);
	echo "{status:0}";	
} else
{
	echo "{status:-1}";
}
?>